<!doctype html>
<html lang="en">
  <head>
    <title>FileBrowser Demo</title>
  </head>
  <body>
    {% set page_config_full = {'baseUrl': base_url, 'token': token} %}
    
    <script id="jupyter-config-data" type="application/json">
      {{ page_config_full | tojson }}
    </script>
  
    <script src="{{base_url | e}}example/bundle.js"></script>

    <script type="text/javascript">
      /* Remove token from URL. */
      (function () {
        var parsedUrl = new URL(window.location.href);
        if (parsedUrl.searchParams.get('token')) {
          parsedUrl.searchParams.delete('token');
          window.history.replaceState({ }, '', parsedUrl.href);
        }
      })();
    </script>

  </body>
</html>
